package com.jiutong.meipenggang.http.model.services;

import com.jiutong.meipenggang.common.Constants;
import com.jiutong.meipenggang.entity.MCBMainPageBean;
import com.jiutong.meipenggang.entity.PayInBean;
import com.jiutong.meipenggang.entity.PayOut1Bean;
import com.jiutong.meipenggang.entity.PayOut2Bean;
import com.jiutong.meipenggang.entity.SurePayInBean;
import com.jiutong.meipenggang.entity.SurePayOut2Bean;
import com.jiutong.meipenggang.entity.SurePayOutBean;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by bdf on 2018/1/4.
 */
public interface MeiCaiBaoMainPageServer {
    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<MCBMainPageBean> MCBMainPage(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<PayOut1Bean> PayOut1(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<PayOut2Bean> PayOut2(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<SurePayOutBean> surePayOut(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<SurePayOut2Bean> surePayOut2(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<PayInBean> Payin(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<SurePayInBean> SurePayin(@FieldMap Map<String, Object> fields);


}
